package cn.edu.neu.springbootdemo.mapper;

import cn.edu.neu.springbootdemo.model.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface OrderMapper {
    List<Order> getSOrderList();

    Boolean deleteSOrder(int parseInt);

    List<Order> findSOrder(int sorder_id);

    Order findIdSOrder(int order_id);

    List<Order> getMOrderList();

    Boolean deleteMOrder(int parseInt);

    void addSOrder(Order order);

    void addMOrder(Order order);

    String[] Seat(int show_id);
}
